package com.pf.enums;

import lombok.Getter;

/**
 * @author PanFei
 * @version 1.0.0
 * @createTime 2021/9/4
 */
@Getter
public enum BaseResultEnum {

    SUCCESS(0, "调用成功！"),
    FAIL(-1, "调用失败！");

    private Integer code;
    private String message;

    BaseResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
